#pragma once

#include <iostream>
#include <unistd.h>
#include <cstring>
#include <cerrno>
#include <cstdlib>
#include <vector>
#include<ctime>
using namespace std;

typedef void(*task)();
void task1()
{
    cout<<"do task one successfully"<<endl;
}
void task2()
{
    cout<<"do task two successfully"<<endl;
}void task3()
{
    cout<<"do task three successfully"<<endl;
}
task tasks[3]={task1,task2,task3};